﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UserUI/UserUI.Master" AutoEventWireup="true"
    CodeBehind="UserLoginUI.aspx.cs" Inherits="ELearningSystem.UI.UserUI.UserLoginUI" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 191px;
        }
        .style2
        {
            width: 507px;
        }
        .style3
        {
            width: 169px;
        }
        .style4
        {
            width: 214px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <table style="width: 606px"><tr><td class="style1"></td><td class="style2">
    <table>
        <tr>
            <td>
                <b>Login</b>
            </td>
        </tr>
        <tr>
            <td>
                Email :
            </td>
            <td>
                <asp:TextBox ID="loginEmailTextBox" runat="server"></asp:TextBox>
            </td>
            <td class="style4">
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                Password :
            </td>
            <td>
                <asp:TextBox ID="loginPasswordTextBox" runat="server" TextMode="Password"></asp:TextBox>
            </td>
            <td class="style4">
                &nbsp;</td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:LinkButton ID="signInButton" runat="server" Text="Sign In" 
                    onclick="signInButton_Click" />
            </td>
            <td class="style4">
                <asp:Label ID="signInErrorMessage" runat="server"></asp:Label>
            </td>
        </tr>
    </table>
    <p>
    </p>
    <h3 style="width: 525px">
        Not registered yet?&nbsp;&nbsp; </h3>
    <table style="width: 524px">
        <tr>
            <td>
                <b>Sign Up</b>
            </td>
            <td class="style3">
            </td>
            <td class="style3">
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                Name :
            </td>
            <td class="style3">
                <asp:TextBox ID="nameTextBox" runat="server"></asp:TextBox>
            </td>
            <td class="style3" rowspan="3">
                <asp:Label ID="signUpErrorMessage" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                Email :
            </td>
            <td class="style3">
                <asp:TextBox ID="emailTextBox" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Password :
            </td>
            <td class="style3">
                <asp:TextBox ID="passwordTextBox" runat="server" TextMode="Password"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Retype Password :
            </td>
            <td class="style3">
                <asp:TextBox ID="retypePasswordTextBox" runat="server" TextMode="Password"></asp:TextBox>
            </td>
            <td class="style3">
                <asp:CompareValidator ID="CompareValidator2" runat="server" 
                    ControlToCompare="passwordTextBox" ControlToValidate="retypePasswordTextBox" 
                    ErrorMessage="Password Mismatch!" ForeColor="Red" 
                    ValidationGroup="passwordValidate">*</asp:CompareValidator>
            </td>
        </tr>
        <tr>
        <td></td><td class="style3">
            <asp:LinkButton ID="submitLinkButton" runat="server" Text="Submit" 
                onclick="submitLinkButton_Click" ValidationGroup="passwordValidate"></asp:LinkButton></td>
           
        </tr>
        </>
    </table>
    </td></tr></table>
</asp:Content>
